<?php

namespace App\Models\wechat;

use Illuminate\Database\Eloquent\Model;

class OrderProduct extends Model
{
    protected $guarded = [];
    public $timestamps = false;
    protected $table = 'order_products';


    public function order()
    {
        return $this->belongsTo('App\Models\wechat\Order');
    }

    public function product()
    {
        return $this->belongsTo('App\Models\shop\Product');
    }
}
